package hu.diploma.common.vos;

import hu.diploma.common.enums.DataSubType;
import hu.diploma.common.enums.DataType;

public class PersonalDataVo extends BaseVo {

	private String value;

	private String subValue;

	private DataType type;

	private DataSubType subtype;

	private PersonVo person;

	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public DataType getType() {
		return this.type;
	}

	public void setType(DataType type) {
		this.type = type;
	}

	public DataSubType getSubtype() {
		return this.subtype;
	}

	public void setSubtype(DataSubType subtype) {
		this.subtype = subtype;
	}

	public String getSubValue() {
		return this.subValue;
	}

	public void setSubValue(String subValue) {
		this.subValue = subValue;
	}

	public void setPerson(PersonVo person) {
		this.person = person;
	}

	public PersonVo getPerson() {
		return this.person;
	}

	@Override
	public String toString() {
		return "PersonalDataVo [  subValue=" + this.subValue + ", subtype=" + this.subtype + ", type=" + this.type + ", value=" + this.value
				+ ", getDeleted()=" + this.getDeleted() + ", getId()=" + this.getId() + ", getPhoneId()=" + this.getPhoneId() + ", getVersion()="
				+ this.getVersion() + "]";
	}

}
